A Metamodeling Approach to Pattern Specification and Detection
نویسندگان
چکیده
This report presents the Pattern Modeling Framework (PMF), a new metamodeling approach to pattern specification and detection for MOFcompliant modeling frameworks and languages. Patterns need to be precisely specified before a tool can manipulate them, and though several approaches to pattern specification have been proposed, they do not provide the scalability and flexibility required in practice. PMF provides a pattern specification language called Epattern, which is capable of precisely specifying patterns in MOF-compliant metamodels. The language is defined as an extension to MOF by adding semantics inspired from the UML composite structure diagram. The language also comes with a graphical notation and a recommended iterative specification process. It also contains features to manage the complexity of specifying patterns and simplify their application and detection in user models. Most importantly, the language is implemented using state-of-the-art technologies that are heavily used by major modeling tool vendors, thus facilitating its adoption. The report also presents a systematic way to derive a pattern detection algorithm from an Epattern specification. The algorithm can be configured by special semantics in the specification without compromising the structural definition of the pattern. This allows pattern authors to leverage their knowledge of the pattern’s target language to create more efficient detection algorithms.
منابع مشابه
A Metamodeling Approach to Pattern-Based Model Refactoring
class implemented_by Image Display (applying the Bridge pattern) displayed_on Display ImageImpl1 Figure 1. An example of pattern-based model refactoring. ConcreteImpB ConcreteImpA Implementor RefinedAbstraction Abstraction implemented_by Figure 2. A diagram of the Bridge pattern. tion of the UML designs representing solutions of the pattern Transformation specification: a specification of probl...
متن کاملThe Role-Based Metamodeling Language for Specifying Design Patterns
This chapter describes a UML-based pattern specification language called the role-based metamodeling language (RBML), which defines the solution domain of design patterns in terms of roles at the metamodel level. The goal of the RBML is to support the development of precise pattern specifications that can be used for the development of pattern tools. The author describes the approaches and bene...
متن کاملOutlier Detection in Wireless Sensor Networks Using Distributed Principal Component Analysis
Detecting anomalies is an important challenge for intrusion detection and fault diagnosis in wireless sensor networks (WSNs). To address the problem of outlier detection in wireless sensor networks, in this paper we present a PCA-based centralized approach and a DPCA-based distributed energy-efficient approach for detecting outliers in sensed data in a WSN. The outliers in sensed data can be ca...
متن کاملSpecifying Model Transformations at the Metamodel Level
The MOF 2.0 Query/Views/Transformations (QVT) goal is to provide a standard for expressing model transformations. Techniques and technologies that support the rigorous definition and application of model transformations are required to realize the Model Driven Architecture (MDA) vision. In this paper, we describe an approach to rigorous modeling of pattern-based transformations. We discuss how ...
متن کاملManagement of Correctness Problems in UML Class Diagrams Towards a Pattern-Based Approach
UML is now widely accepted as the standard modeling language for software construction. The Class Diagram is its core view, having well formed semantics and providing the backbone for any modeling effort. Class diagrams are widely used for purposes such as software specification, database and ontology engineering, meta-modeling, and model transformation. The central role played by class diagram...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006